package com.hmall.service;


import com.hmall.common.pojo.PageDTO;
import com.hmall.pojo.ItemDoc;
import com.hmall.pojo.Param;

import java.util.List;
import java.util.Map;

public interface SearchService {


    PageDTO<ItemDoc> search(Param params);

    List<String> suggestion(String key);

    Map<String, List<String>> filter(Param param);


    void addByIdAndStatus(Long id);

    void deleteByIdAndStatus(Long id);
}
